package com.wink.event;

import java.util.ArrayList;

import javax.xml.bind.annotation.XmlElementRef;
import javax.xml.bind.annotation.XmlRootElement;


@XmlRootElement(name = "eventlist")
public class EventList {
	@XmlElementRef
	ArrayList<Event> data;

	/**
	 * must have
	 */
	public EventList() {
	}

	public EventList(ArrayList<Event> data) {
		this.data = data;
	}

	public ArrayList<Event> getList() {
		return data;
	}

	public void setData(ArrayList<Event> data) {
		this.data = data;
	}
}
